package com.hxf.common;

import java.util.List;

/**
 * 
 * @author tengyicheng
 *
 */
public class Node {

	private String id;
	private String name;
	private List<Node> childNodes;
	private String perantId;
	private String ico;
	private String url;
	
	public Node() {
	}


	public Node(String id, String name,String perantId) {
		super();
		this.id = id;
		this.name = name;
		this.childNodes = null;
		this.perantId = perantId;
	}
	
	public Node(String id, String name,String perantId, String ico) {
		super();
		this.id = id;
		this.name = name;
		this.childNodes = null;
		this.perantId = perantId;
		this.ico = ico;
	}
	
	public Node(String id, String name,String perantId, String url,String ico) {
		super();
		this.id = id;
		this.name = name;
		this.childNodes = null;
		this.perantId = perantId;
		this.url = url;
		this.ico = ico;
	}
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public List<Node> getChildNodes() {
		return childNodes;
	}

	public void setChildNodes(List<Node> childNodes) {
		this.childNodes = childNodes;
	}

	public String getPerantId() {
		return perantId;
	}

	public void setPerantId(String perantId) {
		this.perantId = perantId;
	}


	public String getIco() {
		return ico;
	}


	public void setIco(String ico) {
		this.ico = ico;
	}


	public String getUrl() {
		return url;
	}


	public void setUrl(String url) {
		this.url = url;
	}


}
